Range Picker
fun RangePicker(value: ClosedFloatingPointRange<Float>, onValueChange: (ClosedFloatingPointRange<Float>) -> Unit, min: Float, max: Float, modifier: Modifier = Modifier)
Displays a range slider for numbers from a minimum to maximum range
Users can drag the nodes at the start and the end to adjust the range
Parameters
value
The currently selected range.
on Value Change
Callback invoked when the range changes.
min
The minimum selectable value.
max
The maximum selectable value.
modifier
Modifier used to customize the component layout.